export function isExternalUrl(url: string) {
  if (!url) {
    return false
  }
  return /^(((ht|f)tps?):\/\/)?[\w-]+(\.[\w-]+)+([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?$/.test(
    url
  )
}
